Information processing system, information processing apparatus, and processing execution method

ABSTRACT

An information processing system, an information processing apparatus, and a processing execution method. The information processing system in response to a transmission of a print job from a terminal device to a virtual printer registered in an external print service, receives information for identifying the virtual printer and the print job from the external print service, based on association information associating identification information of an application and information for identifying a virtual printer, identifies an application associated with the information for identifying the virtual printer that is received, and processes the print job by the application.

CROSS-REFERENCE TO RELATED APPLICATIONS

This patent application is based on and claims priority pursuant to 35U.S.C. § 119(a) to Japanese Patent Application No. 2021-078541, filed onMay 6, 2021, in the Japan Patent Office, the entire disclosure of whichis hereby incorporated by reference herein.

BACKGROUND Technical Field

The present disclosure relates to an information processing system, aninformation processing apparatus, and a processing execution method.

Related Art

The known external print service prints a print job transmitted from aterminal device that is connected through a network with an imageforming apparatus registered in advance by a user. The external printservice enables printing through the network without installing aprinter driver on the terminal device. For example, a system stores aprint job acquired from an external print service and transmits thestored print job to the image forming apparatus in response to a requestfrom the image forming apparatus.

SUMMARY

Embodiments of the present disclosure describe an information processingsystem, an information processing apparatus, and a processing executionmethod. The information processing system in response to a transmissionof a print job from a terminal device to a virtual printer registered inan external print service, receives information for identifying thevirtual printer and the print job from the external print service, basedon association information associating identification information of anapplication and information for identifying a virtual printer,identifies an application associated with the information foridentifying the virtual printer that is received, and processes theprint job by the application.

BRIEF DESCRIPTION OF THE DRAWINGS

A more complete appreciation of the disclosure and many of the attendantadvantages and features thereof can be readily obtained and understoodfrom the following detailed description with reference to theaccompanying drawings, wherein:

FIG. 1 is a diagram illustrating an example process in which a userexecutes printing with a virtual printer;

FIG. 2 is a diagram illustrating an example of a schematic configurationof a printing system;

FIG. 3 is a block diagram illustrating a hardware configuration of anexample of an information processing system and a terminal device;

FIG. 4 is a block diagram illustrating a hardware configuration of anexample of an image forming apparatus;

FIG. 5 is a block diagram illustrating an example of a functionalconfiguration of an external print service, the information processingsystem, the image forming apparatus, and the terminal device;

FIG. 6 is a diagram illustrating an example process of setting a linkbetween the information processing system and the external printservice;

FIG. 7 is a diagram illustrating an example of a login screen displayedby the terminal device operated by an administrator;

FIG. 8 is a diagram illustrating an example of an administrator settingscreen displayed after login;

FIG. 9 is a diagram illustrating an example of an external service linkscreen;

FIG. 10 is a diagram illustrating an example of an external serviceauthentication screen and an external print service authorizationscreen;

FIG. 11 is a diagram illustrating an example process in which theadministrator creates a virtual printer and associates the virtualprinter with an application;

FIG. 12 is a diagram illustrating an example of an external printservice link application setting screen;

FIG. 13 is a diagram illustrating an example of an external printersetting screen;

FIG. 14 is a diagram illustrating an example process in which a userexecutes an application through an external print service;

FIG. 15 is a diagram illustrating an example of a print screen displayedby the terminal device;

FIGS. 16A and 16B are a diagram illustrating an example of a useridentifier (ID) included in a print job;

FIG. 17 is a diagram illustrating an example process in which the userexecutes the application through the image forming apparatus;

FIGS. 18A and 18B are a sequence diagram illustrating an example of aprocess in which the virtual printer and the application are associated;

FIGS. 19A and 19B are a sequence diagram illustrating an example of aprocess in which the user requests the external print service to executethe print job and the information processing system executes theapplication associated with the virtual printer;

FIG. 20 is a diagram illustrating an example of an external printservice link application setting screen according to a second embodimentof the present disclosure;

FIGS. 21AA and 21AB (FIG. 21A) and FIGS. 21BA and 21BB (FIG. 21B) are asequence diagram illustrating an example of a process in which thevirtual printer and the application are associated according to thesecond embodiment of the present disclosure;

FIG. 22 is a diagram illustrating an example of the external printservice link application setting screen according to a third embodimentof the present disclosure;

FIGS. 23A and 23B are a sequence diagram illustrating an example of aprocess in which the virtual printer and the application are associatedaccording to the third embodiment of the present disclosure; and

FIG. 24 is a diagram illustrating an example of an application executioncondition associated with an application ID of application informationin JavaScript Object Notation (JSON) format.

The accompanying drawings are intended to depict embodiments of thepresent invention and should not be interpreted to limit the scopethereof. The accompanying drawings are not to be considered as drawn toscale unless explicitly noted. Also, identical or similar referencenumerals designate identical or similar components throughout theseveral views.

DETAILED DESCRIPTION

In describing embodiments illustrated in the drawings, specificterminology is employed for the sake of clarity. However, the disclosureof this specification is not intended to be limited to the specificterminology so selected and it is to be understood that each specificelement includes all technical equivalents that have a similar function,operate in a similar manner, and achieve a similar result.

Referring now to the drawings, embodiments of the present disclosure aredescribed below. As used herein, the singular forms “a,” “an,” and “the”are intended to include the plural forms as well, unless the contextclearly indicates otherwise.

Hereinafter, as an example of the embodiment for carrying out thepresent disclosure, a printing system and a processing execution methodperformed by the printing system are described with reference to thedrawings.

FIG. 1 is a diagram illustrating a process in which a user executesprinting with a virtual printer 9. As described below, in an externalprint service 20, a webhook is registered in the virtual printer 9. Atan information processing system 40, a uniform resource locator (URL) ofthe webhook, a printer ID of the virtual printer 9, and a webapplication are associated.

A. The user selects the virtual printer 9 and causes the terminal device10 to send a print job to the external print service 20.

B. In response to receiving a submission of the print job, the externalprint service 20 sends a notification to the information processingsystem 40, addressing the URL of the webhook registered in the virtualprinter 9. The external print service 20 may send the print job with theURL of the webhook if the print job can be sent. In such case, theinformation processing system 40 does not have to associate the printerID of the virtual printer 9 with the web application (however, the URLof the webhook is associated with the web application).

C. In response to receiving the notification, the workflow service 52sends a print job acquisition request to the virtual printer service 54with the printer ID associated with the URL of the webhook.

D. The virtual printer service 54 designates the printer ID and sendsthe print job acquisition request to the external print service 20 toacquire the print job, which has been submitted.

E. The virtual printer service 54 transmits the acquired print job tothe workflow service 52 and requests to execute the print job.

F. The workflow service 52 executes the web application associated withthe printer ID to process the print job.

G. The workflow service 52 submits the print job processed by the webapplication to the print service 55. This print job is downloaded by animage forming apparatus 30. Alternatively, the print job processed bythe web application may be transmitted by an email or stored in thestorage service.

As described above, in the present embodiment, the virtual printer 9created in the external print service 20 is used, and in the informationprocessing system 40, the virtual printer 9 and the web application(flow) provided by the information processing system 40 are associatedwith each other. Accordingly, in response to a user request to theexternal print service 20 to print using the virtual printer 9, theinformation processing system 40 processes the print job using the webapplication. Since one or more processes for the print job are definedin the web application, a printing system can add the process to theprint job.

An overall configuration of the printing system is described withreference to FIG. 2. FIG. 2 is a diagram illustrating an example of aschematic configuration of the printing system. The printing systemincludes the image forming apparatus 30 and the information processingsystem 40. The information processing system 40 communicates with theterminal device 10. The printing system communicates with the externalprint service 20. The external print service 20 communicates with theterminal device 10.

The information processing system 40 includes one or more informationprocessing apparatuses, and communicates with the image formingapparatus 30, the external print service 20, and the terminal device 10through a network. The information processing system 40 provides variousservices by a series of processes (flows) in cooperation with a cloudservice. The information processing system 40 executes one or moreprocesses (the series of processes) such as Portable Document Format(PDF) conversion, optical character recognition (OCR), upload to thecloud, email transmission, printing, translation, and voice recognition.The series of processes is provided by one application, and the seriesof processes is also called “process flow” and “workflow” in addition to“flow”. The application is created by the user at the terminal device 10by combining the processes.

The information processing system 40 may be implemented by cloudcomputing or may be implemented by a single information processingapparatus. The cloud computing refers to a usage pattern in whichresources on a network are used without making the user aware ofspecific hardware resources.

The information processing system 40 may reside on the internet or mayreside on-premises.

The image forming apparatus 30 executes the print job generated by theflow. Examples of the image forming apparatus 30 include an imageprocessing apparatus such as a multifunction peripheral (MFP), aprinting apparatus, a printer, or the like. Examples of the imageforming apparatus 30 further include output devices such as a projector,an electronic whiteboard and the like. The image forming apparatus 30may not be provided depending on contents of the flow. For example, anexternal storage server may be provided instead of the image formingapparatus 30.

The terminal device 10 is, for example, a desktop personal computer(PC), a notebook PC, a smartphone, a tablet terminal, or the like usedby an administrator or a general user. In addition, the terminal device10 may be any device capable of operating a web browser. The useroperates the terminal device 10 to use various services provided by theinformation processing system 40 or the external print service 20, andfurther sets the application.

The external print service 20 includes one or more informationprocessing apparatuses. The virtual printer is registered in theexternal print service 20, and the print job is submitted to the virtualprinter. The external print service 20 of the present embodimenttransmits the print job transmitted from the terminal device 10 to theinformation processing system 40. The image forming apparatus 30acquires the print job from the information processing system 40 andprints an image based on the print job. By using the external printservice 20, the user instructs the image forming apparatus 30 to printthrough the cloud without installing the printer driver in the terminaldevice 10.

Information Exchanged Between External Print Service 20 and TerminalDevice 10

The external print service 20 uses a general-purpose printer driver toprocess the print job transmitted from the terminal device 10.Accordingly, the printer driver may not be installed in the terminaldevice 10. Information of a user who can use the virtual printer 9(registered by the information processing system 40) is transmitted fromthe terminal device 10 to the external print service 20. The externalprint service 20 transmits a setting screen and information on availableusers to the terminal device 10.

Information Exchanged Between Information Processing System 40 andTerminal Device 10

A login request to the information processing system 40 (web service),an authentication and authorization request to the external printservice 20 (single sign-on using OAuth and the like), and an applicationsetting request are transmitted from the terminal device 10 to theinformation processing system 40. Screen information of the web serviceis transmitted from the information processing system 40 to the terminaldevice 10.

Information Exchanged Between Information Processing System 40 andExternal Print Service 20

A virtual printer creation request is transmitted from the informationprocessing system 40 to the external print service 20. A webhookregistration request to the virtual printer 9 is transmitted from theinformation processing system 40 to the external print service 20. Aprint job (including user information in the external print service 20)is transmitted from the external print service 20 to the informationprocessing system 40. A detailed description is given below of thevirtual printer 9 and webhook.

Information Exchanged Between Information Processing System 40 and ImageForming Apparatus 30

An authentication request is transmitted from the image formingapparatus 30 to the information processing system 40. The print job andan access token (access token for the information processing system 40)as a result of successful user authentication are transmitted from theinformation processing system 40 to the image forming apparatus 30.

In the present embodiment, a multi-tenant service (a mechanism in whichthe administrator user and the general user exist for each company orcustomer who uses the service) is presupposed, and the administratoruser and the general user are described separately. However, theadministrator and the general user may not be distinguished.

In the following description, privilege for the administrator may beprovided even for the general user, and the administrator may not exist.Moreover, the term “user” used in the present embodiment indicates thegeneral user.

The external print service 20 is a term for contrasting with an internalprint service (a service in which the terminal device 10 prints with aprinter in a local area network (LAN) using a printer driver installedin the terminal device 10). The external print service 20 is a servicethat allows printing with the image forming apparatus 30 registered inadvance, through the cloud without installing the printer driver on thePC. For example, universal print and cloud print are known.

A flow is a series of processes implemented by an application developerby connecting a plurality of processes. For example, a series ofprocesses such as PDF conversion, OCR, upload to cloud, and emailtransmission is called the flow. In the present embodiment, the “flow”is used in almost the same meaning as the web application (hereinafter,simply referred to as an application).

A workflow service is a service that executes the flow when theapplication developer creates the flow or the user executes theapplication. The user can select and execute the application on theimage forming apparatus 30 and automatically execute the application bysending the email to the designated email address. In the presentembodiment, the workflow service designates and executes the applicationbased on the URL registered in the webhook by the information processingsystem 40.

The webhook is a mechanism for sending a request to the URL of thewebhook when an event (print job input to the virtual printer 9) occurs.The webhook is registered in the external print service 20. The use ofwebhook is an example of a mechanism that allows the workflow service toknow that printing has been executed by the virtual printer 9.

The flow of processing using the webhook according to the presentembodiment is as follows.

-   -   (i) The administrator sets the external print service 20 to send        the URL of the webhook to the information processing system 40        in response to the execution of printing by the virtual printer        9 (setting on the external print service 20).    -   (ii) In response to the selection of the virtual printer 9 and        execution of the printing by the user, the external print        service 20 notifies the information processing system 40 of the        URL of the webhook.    -   (iii) The information processing system 40 identifies from the        URL of the webhook, which virtual printer 9 is requested to        print and which application the URL of the webhook is associated        with.    -   (iv) The information processing system 40 acquires the print job        from the virtual printer 9.    -   (v) After acquiring the print job, the information processing        system 40 executes the identified application.

The virtual printer 9 is a printer object of the external print service20 to which a physical printer is not connected. In response to theprint instruction to the virtual printer 9 from the user, theinformation processing system 40 holds the print job. Then, the userlogs in to the image forming apparatus 30 and executes printing.

The application ID is a unique identification information of theapplication. The application ID is associated with the virtual printer9.

The external print service link application is an application for theadministrator to associate the virtual printer 9 of the external printservice 20 with the application in one to one or one to multiplecorrespondence.

The information to identify the virtual printer may be any informationthat is associated with the printer ID of the virtual printer in theinformation processing system 40. In the present embodiment, theinformation to identify the virtual printer is, for example, the URL ofthe webhook.

A hardware configuration of the information processing system 40 and theterminal device 10 according to the present embodiment is described withreference to FIG. 3.

FIG. 3 is a block diagram illustrating the hardware configuration of anexample of the information processing system 40 and the terminal device10. As illustrated in FIG. 3, the information processing system 40 andthe terminal device 10 are each implemented by a computer including acentral processing unit (CPU) 501, a read only memory (ROM) 502, arandom access memory (RAM) 503, a hard disk (HD) 504, a hard disk drive(HDD) controller 505, a display 506, an external device connectioninterface (I/F) 508, network I/F 509, a bus line 510, a keyboard 511, apointing device 512, a digital versatile disc-rewritable (DVD-RW) drive514 and a medium I/F 516.

The CPU 501 controls overall operation of the information processingsystem 40 and the terminal device 10. The ROM 502 stores a controlprogram such as an initial program loader (IPL) to boot the CPU 501. TheRAM 503 is used as a work area for the CPU 501. The HD 504 storesvarious data such as the programs. The HDD controller 505 controlsreading and writing of various data from and to the HD 504 under controlof the CPU 501. The display 506 displays various information such as acursor, menu, window, character, or image. The external deviceconnection I/F 508 is an interface for connecting various externaldevices. The external device in this case is, for example, a UniversalSerial Bus (USB) memory, a printer, or the like. The network I/F 509 isan interface for performing data communication using the network. Thebus line 510 is an address bus, a data bus, or the like for electricallyconnecting each component such as the CPU 501 illustrated in FIG. 3.

The keyboard 511 is an example of an input device provided with aplurality of keys for allowing a user to input characters, numerals, orvarious instructions. The pointing device 512 is an example of the inputdevice that allows a user to select or execute a specific instruction,select a target for processing, or move a cursor being displayed. TheDVD-RW drive 514 reads and writes various data from and to a DVD-RW 513,which is an example of a removable storage medium. The DVD-RW may be adigital versatile disc-recordable (DVD-R) or the like. The medium I/F516 controls reading and writing (storing) of data from and to a storagemedium 515 such as a flash memory.

FIG. 4 is a block diagram illustrating a hardware configuration of anexample of the image forming apparatus 30. As illustrated in FIG. 4, theimage forming apparatus 30 includes a controller 910, a short-rangecommunication circuit 920, an engine controller 930, a control panel940, and a network IF 950.

The controller 910 includes a CPU 901 as a main processor, a systemmemory (MEM-P) 902, a north bridge (NB) 903, a south bridge (SB) 904, anApplication Specific Integrated Circuit (ASIC) 906, a local memory(MEM-C) 907, an HDD controller 908, and an HD 909 as a storage unit. TheNB 903 and the ASIC 906 are connected through an Accelerated GraphicsPort (AGP) bus 921.

The CPU 901 is a processor that performs overall control of the imageforming apparatus 30. The NB 903 connects the CPU 901 with the MEM-P902, SB 904, and AGP bus 921 and includes a memory controller forcontrolling reading or writing operation of various data with respect tothe MEM-P 902, a Peripheral Component Interconnect (PCI) master, and anAGP target.

The MEM-P 902 includes a ROM 902 a as a memory that stores program anddata for implementing various functions of the controller 910. The MEM-P902 further includes a RAM 902 b as a memory that deploys the programand data, or as a drawing memory that stores drawing data for printing.The program stored in the ROM 902 a may be stored in anycomputer-readable storage medium, such as a compact disc-read onlymemory (CD-ROM), compact disc-recordable (CD-R), or digital versatiledisc (DVD), in a file format installable or executable by the computer,for distribution.

The SB 904 connects the NB 903 with a peripheral component interconnect(PCI) device or a peripheral device. The ASIC 906 is an integratedcircuit (IC) dedicated to an image processing use, and connects the AGPbus 921, a PCI bus 922, the HDD controller 908, and the MEM-C 907 as abridge. The ASIC 906 is a PCI target and an AGP master, an arbiter (ARB)which is the core of the ASIC 906, a memory controller which controlsMEM-C 907, a plurality of Direct Memory Access Controllers (DMACs) whichrotate image data by hardware logic and the like, and a PCI unit thattransfers data between a scanner 931, a printer 932, and a facsimile 933through the PCI bus 922. The ASIC 906 may include a USB interface and anInstitute of Electrical and Electronics Engineers 1394 (IEEE1394)interface and may be connected to these interfaces.

The MEM-C 907 is a local memory used as a buffer for image data to becopied or a code buffer. The HD 909 is a storage that stores image data,font data used during printing, and forms. The HDD controller 908 readsor writes various data from or to the HD 909 under control of the CPU901. The AGP bus 921 is a bus interface for a graphics accelerator card,which has been proposed to accelerate graphics processing. Throughdirectly accessing the MEM-P 902 by high-throughput, speed of thegraphics accelerator card is improved.

The short-range communication circuit 920 includes a short-rangecommunication antenna 920 a. The short-range communication circuit 920is a communication circuit that communicates in compliance with NearField Communication (NFC), BLUETOOTH (registered trademark) and thelike.

Further, the engine controller 930 includes the scanner 931, the printer932, and the facsimile 933. The control panel 940 includes a displaypanel 940 a implemented by, for example, a touch panel that displayscurrent settings or a selection screen and receives a user input and anoperation panel 940 b including a numeric keypad that receives setvalues of various image forming parameters such as image densityparameter and a start key that accepts an instruction for startingcopying. The controller 910 controls entire operation of the imageforming apparatus 30. For example, the controller 910 controlsrendering, communication, or user inputs to the control panel 940. Thescanner 931 or the printer 932 includes an image processing unit such aserror diffusion processing and gamma conversion processing.

In response to an instruction to select a specific application throughthe control panel 940, for example, using a mode switch key, the imageforming apparatus 30 selectively performs a document box function, acopy function, a print function, and a facsimile function. In the imageforming apparatus 30, a document box mode is selected when the documentbox function is selected, a copy mode is selected when the copy functionis selected, a print mode is selected when the print function isselected, and a facsimile mode is selected when the facsimile functionis selected.

The network I/F 950 is an interface for performing data communicationusing the network. The short-range communication circuit 920 and thenetwork I/F 950 are electrically connected to the ASIC 906 through thePCI bus 922.

FIG. 5 is a block diagram illustrating an example of a functionalconfiguration of the external print service 20, the informationprocessing system 40, the image forming apparatus 30, and the terminaldevice 10.

The external print service 20 includes a communication unit 11. Thisfunction of the external print service 20 is implemented by the CPU 501executing an instruction included in one or more programs of thecomputer on the RAM 503.

The communication unit 11 communicates with the information processingsystem 40 and the terminal device 10. The communication unit 11 executesauthentication using OAuth or the like for the communication from theweb service 53 of the information processing system 40. Thecommunication unit 11 receives a virtual printer creation request andwebhook registration from the virtual printer service 54. Further, thecommunication unit 11 transmits firing of the webhook event to theworkflow service 52 (notifies that a preset event has occurred in thewebhook. In the present embodiment, the event is a print job input andthe URL of the webhook is transmitted).

Further, the external print service 20 includes a storage unit 12. Thestorage unit 12 is implemented by the HD 504, RAM 503, ROM 502, etc. ofthe computer. The storage unit 12 stores the virtual printer 9 and userinformation.

The information processing system 40 includes an authentication service51, a workflow service 52, a web service 53, a virtual printer service54, and a print service 55.

These functions of the information processing system 40 are implementedby the CPU 501 executing instructions included in one or more programsof the computer on the RAM 503.

A. Authentication Service

The authentication service 51 is a service that performs userauthentication and authorization, tenant management, and the like. Theauthentication service 51 includes a communication unit 21 and a storageunit 22.

The communication unit 21 receives the access token or the like forcommunication with the external print service 20 from the web service 53and stores the access token in the storage unit 22. The communicationunit 21 receives the user ID of the external print service 20 includedin the print job from the virtual printer service 54 and returns theaccess token of the user.

The storage unit 22 stores user information, application information,and tenant information.

TABLE 1 External Service Link Authentication Information Access User IDEmail Address External Service ID Token Refresh Token adminsample@abc.com External_print_service 1234567890 abcdefghijklmnopqrExample of external print service

Table 1 is an example of user information (No. 1) stored in the storageunit 22 of the authentication service 51. Items included in Table 1 aredescribed below. In the user information (No. 1), information related toa person (for example, the administrator or the user) who associates thevirtual printer 9 with the application is registered.

-   -   The user ID is the identification information of the user in the        information processing system 40.

In Table 1, the user ID is admin (administrator), but the user ID may bea general user. In the present embodiment, the user in Table 1 includesboth general user and administrator.

-   -   An email address is the email address of the user. The email        address is used to identify the user. The email address may        serve as the user ID.    -   The external service ID is identification information of an        external service such as the external print service 20.    -   The access token is for the user to receive the service of the        external service. This access token is issued by the external        print service 20. The workflow service 52 uses the access token        to register the webhook in the external print service 20. The        workflow service 52 uses this access token to acquire the print        job from the virtual printer service 54.    -   A refresh token is used to reacquire the expired access token.

TABLE 2 User Information Email Address User (Used as user RefreshIdentifier identification Access Token Token (Information information(Information (Information External ServiceLink Information Processing byexternal Processing Processing External Access Refresh Tenant System)print service) System) System) Service ID Token Token ID a0eebc99-9c0b-sample1@abc.com jklmopqr jklmopqr External_print_service 123456 Abcdef123456 4ef8-bb6d- 7890 ghijklm 6bb9bd380a11 nopqr a0eebc99-9c0b-sample2@abc.com jklmopqs jklmopqs External_print_service 987654 Abcdef345678 4ef8-bb6d- 3210 ghijklm 6bb9bd380a12 nopqs a0eebc99-9c0b-sample3@abc.com jklmopqt jklmopqt External_print_service None None123456 4ef8-bb6d- 6bb9bd380a13

Table 2 is an example of user information (No. 2) stored by theauthentication service 51. The user information (No. 2) storesinformation on the users belonging to a tenant. Multiple users canbelong to each tenant. The tenant is a company or organization that hascontracted to receive a service from a service provider (informationprocessing system in the present embodiment).

-   -   A user identifier is user identification information in the        information processing system 40.    -   The email address is the email address of the user.    -   The access token and the refresh token are authentication        information for executing the application in the information        processing system 40 (issued by the information processing        system 40).    -   The external service ID is the identification information of the        external print service 20.    -   The access token and refresh token of the external service link        information are authentication information for requesting        processing from the external service including the external        print service 20 (issued by the external print service 20).    -   A tenant ID is identification information of the tenant to which        the user belongs.

The user information of the authentication service 51 and the tenantinformation of the workflow service 52 described below are associatedwith each other by the tenant ID.

B. Workflow Service

The workflow service 52 is a service that submits the print job andexecutes the series of flows. The workflow service 52 includes acommunication unit 23, a storage unit 24, a saving unit 25, and aprocessing unit 33.

The communication unit 23 transmits a request for creating a virtualprinter or registering a webhook to the virtual printer service 54. Thecommunication unit 23 receives the URL of the webhook registered in thevirtual printer 9 of the external print service 20.

The communication unit 23 transmits the printer ID to the external printservice 20 and receives the print job associated with the virtualprinter. The communication unit 23 transmits a print job to the printservice 55. The communication unit 23 receives an update of theapplication information from the web service 53.

The saving unit 25 creates the webhook, registers the webhook in theexternal print service 20, and registers the URL of the webhook, theapplication ID, and the printer ID in the application information. Thesaving unit 25 determines the application or the virtual printer 9 to beexecuted based on the URL of the webhook.

The processing unit 33 processes the print job received by thecommunication unit 23 by the application identified based on thewebhook. That is, the processing unit 33 is implemented by theapplication.

The storage unit 24 stores the application information and the tokeninformation. The application information is associated with theapplication ID, the printer ID, a signature (identification information)of webhook, and the user identifier set by the application.

TABLE 3 Application Information User identifier in which application isset Application (identifier of ID administrator (Link who registeredsetting ID) Printer ID Signature application) External-abcdefghijklmnopqr fjp23jtij3ahi34ht3ihihag834hgiah34 a0eebc99-print-app- 9c0b-4ef8- id01 bb6d- 6bb9bd380a11 information ofadministrator External- abcdefghijklmnopqstsf09hsdf9hfa64lo2nsxcgh231hgiah11 a0eebc99- print-app- 9c0b-4ef8- id01bb6d- 6bb9bd380a12 information of administrator

Table 3 schematically illustrates the application information.

-   -   The application ID is identification information of the        application that executes one or a series of processes.    -   The printer ID is the identification information of the virtual        printer 9.    -   The signature of the webhook is the identification information        of the webhook associated with the virtual printer 9. The        signature becomes part of the UIRL of the webhook.    -   The user identifier in which the application is set is the        identification information of the user (administrator in the        present embodiment) who has registered the application.

TABLE 4 Tenant Information Application extended information (Formanaging application extended information Link Setting ID for eachtenant. In this example, information on (information to identify virtualprinters and linked application.) setting information set on ApplicationID Tenant external print service link (ID of existing ID applicationsetting screen) application to be linked) Printer ID 123456External-print-app-id01 print-app-id01 abcdefghijklmnopqrExternal-print-app-id02 print-app-id02 abcdefghijklmnopqs 345678External-scan-app-id01 print-app-id01 abcdefghijklmnopqu 456789External-mail-app-id01 mail-app-id01 abcdefghijklmnopqt

Table 4 schematically illustrates the tenant information. Information oneach tenant is stored in the tenant information. The application linkedwith the external print service 20 has the link setting ID and theprinter ID registered.

-   -   The tenant ID is the identification information of the tenant.    -   The link setting ID is identification information for        identifying the setting information set on the external print        service link application setting screen described below.    -   The application ID is identification information of the        application of the information processing system 40 executed at        the time of printing by the virtual printer 9. That is, the        application ID is the identification information of the        application selected on the external service link application        setting screen.

The printer ID is identification information indicating the virtualprinter 9 of the external print service 20.

In the case the workflow service 52 receives a notification of the URLof the webhook, the workflow service 52 can perform processing using theaccess token of the administrator without additional authentication.

C. Web Service

The web service 53 is a website (for example, an external print servicelink application setting screen) that accepts settings of the externalprint service 20 and the application from the user. The web service 53includes a communication unit 26, a screen display unit 28, and astorage unit 27.

The communication unit 26 receives authentication and authorizationrequests from the terminal device 10 to the external print service 20.The communication unit 26 receives a request for adding theauthentication and authorization information to the authenticationservice 51. The communication unit 26 receives the application settingrequest to the workflow service 52.

The screen display unit 28 generates a screen displayed by the terminaldevice 10 connected to the web service 53. The screen displayed by theterminal device 10 is, for example, a login screen, the external servicelink screen, the external print service link application setting screen,and the like.

The storage unit 27 stores the login information of the administratorand the like.

D. Virtual Printer Service

The virtual printer service 54 is a service for the informationprocessing system 40 to link with the virtual printer 9 of the externalprint service 20. The virtual printer service 54 includes acommunication unit 29.

The communication unit 29 receives a print job (including userinformation for executing the print job) of the virtual printer 9 fromthe external print service 20 by using the access token issued by theexternal print service 20 acquired from the authentication service 51.

E. Print Service

The print service 55 is a service that receives the print job from theworkflow service 52 (acquires the print job from the virtual printer 9of the external print service 20) and returns the print job in responseto a request from the image forming apparatus 30.

The print service 55 includes a communication unit 32 and a storage unit31. The communication unit 32 receives the print job and a jobcompletion notification from the workflow service 52. The communicationunit 32 transmits the print job to the image forming apparatus 30. Theprint job is stored in the storage unit 31.

The image forming apparatus 30 includes a print client 71, a printapplication 72, and an authentication application 73. The print client71 is a native application for acquiring a print job from theinformation processing system 40. The print client 71 includes acommunication unit 41, a storage unit 42, and an internal communicationunit 43.

The communication unit 41 transmits and receives data to and from theauthentication service 51 and the print service 55. The communicationunit 41 requests the print job from the print service 55 and receivesthe print job.

The storage unit 42 stores the print job. The internal communicationunit 43 transfers data in the image forming apparatus 30 such as a printprocessing request to the print application 72.

The print application 72 performs processing related to printing in theimage forming apparatus 30. The print application 72 prints thedesignated print job. The print application 72 includes a print functionunit 44 and an internal communication unit 45.

The print function unit 44 prints the print job acquired from the printclient 71. The internal communication unit 45 transfers data in theimage forming apparatus 30 such as receiving a print request from theprint client 71.

The authentication application 73 includes an authentication unit 46, acommunication unit 47, and an internal communication unit 48. Thecommunication unit 47 communicates with the authentication service 51,transmits authentication information to the authentication service 51,and receives a user's access token. The authentication unit 46 receivesthe user's authentication information from the login screen or the likeand transmits the authentication information to the communication unit47. The internal communication unit 48 transfers data within the imageforming apparatus 30.

FIG. 6 is a diagram illustrating a process of setting the link betweenthe information processing system 40 and the external print service 20.The process of FIG. 6 is initiated by the administrator but may beinitiated by a general user.

(1) Log in to the Web Service 53

The administrator sets the information processing system 40 to link withthe external print service 20. From the external service link screenreceived from the web service 53, the administrator receivesauthentication and authorization of the external print service 20 byOAuth or the like and links the information processing system 40 and theexternal service (authentication and authorization is performed and theaccess token is acquired).

(2) Authentication and Authorization Request

The web service 53 requests authentication and authorization from theexternal print service 20. As mentioned above the administrator isauthenticated and authorized, for example, by OAuth or the like. In thecase of the administrator, authorization (authority for creating thevirtual printer 9, etc.) is also desired.

(3) Authentication and Authorization Completed

The external print service 20 notifies the web service 53 of thecompletion of authorization with the external print service 20. The webservice 53 acquires the access token issued by the external printservice 20.

(4) The web service 53 adds the access token acquired in (3) to the userinformation stored in the authentication service 51 (see Table 1). As aresult, the access token is stored in the user information (No. 1), andthe information processing system 40 is linked with the external printservice 20.

FIG. 7 is an example of the login screen 200 displayed by the terminaldevice 10 operated by the administrator.

Items included in the login screen 200 is described below.

-   -   Account ID field 201 is a field to input identification        information of an account of the general user or the        administrator.    -   The user ID field 202 is a field to input identification        information of the general user or the administrator.    -   The password field 203 is a field to input confidential        information proving identity of the general user or the        administrator.

FIG. 8 is a diagram illustrating an example of an administrator settingscreen 210 displayed after login. The administrator setting screen 210includes an icon 211 of the external print service link application. Inresponse to the pressing of the icon 211 of the external print servicelink application by the administrator, the external service link screenis displayed.

FIG. 9 is a diagram illustrating an example of an external service linkscreen 220. The external service link screen 220 includes a service name221, a link 222, the share 223, a link button 224, and a release button225.

-   -   The service name 221 is the name of an external service such as        the external print service 20. Although the external print        service 20 is used as an example in the present embodiment, the        information processing system 40 links with various external        services. The external service is, for example, a storage        service.    -   The link 222 indicates whether information (access token) for        linking with the external service is set. “Please update”        indicates that the access token has expired and the access token        is to be renewed.    -   The share 223 indicates whether the external service can be        shared by a plurality of users. Whether to share the external        service is set on the external service link screen. In the case        sharing of the external service is allowed, the information        processing system 40 communicates with the external service        using the user ID of the administrator, the access token, and        the like.    -   The link button 224 is a button for the administrator to start        the operation of authentication and authorization with the        external service to link with the external service.    -   The release button 225 is a button for the administrator to        cancel the link with the external service. By releasing the        link, the information (access token) for the link is deleted        from the user information (No. 1) in Table 1.

FIG. 10 (a) is an example of an external service authentication screen230 displayed by pressing the link button 224, and FIG. 10 (b) is anexample of an external print service authorization screen 240.

An ID field 231 of the external service authentication screen 230 is afield in which the user inputs the user ID of the external print service20.

The authorization screen 240 is transmitted by the authorization server,in response to an authorization request transmitted from the informationprocessing system 40. The authorization screen 240 displays informationrelated to the authorization request (information about clientapplication, a list of requested authorities and the like). Theadministrator reviews content and decides whether to authorize or rejectthe authorization request. Based on authorization by the administrator,an access token is issued for which the authorization server authorizedthe authority.

With reference to FIG. 11, creation of the virtual printer 9 andassociation between the virtual printer 9 and the application isdescribed. The process of FIG. 11 is initiated by the administrator butthe process may be initiated by the general user.

FIG. 11 is a diagram illustrating the process in which the administratorcreates the virtual printer 9 and associates the virtual printer 9 withthe application.

(5) The administrator operates the terminal device 10 to create thevirtual printer 9 from the external print service link applicationsetting screen received from the web service 53 and associates thevirtual printer 9 with the application. The association is one-to-one.The administrator selects the application to be associated and inputsthe virtual printer name to be created on the external print servicelink application setting screen.

(6) The web service 53 designates the access token (held by theauthentication service 51), the virtual printer name, and theapplication ID, and requests the workflow service 52 to associate thevirtual printer 9 with the application.

(7) The workflow service 52 designates the access token and requests thevirtual printer service 54 to create the virtual printer 9. Uponcreation of the virtual printer 9, the workflow service 52 receives thevirtual printer ID as a response.

(8) The virtual printer service 54 designates the access token andrequests the external print service 20 to create the virtual printer 9.The name of the virtual printer 9 is the name set in (5).

(9) The external print service 20 returns the ID of the created virtualprinter 9 to the virtual printer service 54.

(10) The virtual printer service 54 returns the printer ID of thevirtual printer 9 to the workflow service 52.

(11) The workflow service 52 creates a webhook. The saving unit 25 ofthe workflow service 52 stores the virtual printer name acquired in (6),the application ID, and the printer ID acquired in (10) in associationwith the signature of the webhook (see Table 3). In response to firingof an event by the webhook, the workflow service 52 acquires the printjob from the virtual printer 9.

(12) The workflow service 52 designates the printer ID and requests thevirtual printer service 54 to register the webhook.

(13) The virtual printer service 54 designates the access token and theprinter ID and requests the external print service 20 to register thewebhook. At this time, the printer ID acquired in (10) and the accesstoken acquired in (6) are used.

(14) The external print service 20 notifies the virtual printer service54 of completion of webhook registration.

(15) The virtual printer service 54 notifies the workflow service 52 ofthe completion of webhook registration.

(16) The workflow service 52 notifies the web service 53 that theassociation between the application and the virtual printer 9 iscompleted.

(17) The administrator operates the terminal device 10 to set thevirtual printer to be available to the user on a printer setting screendescribed below provided by the external print service 20.

FIG. 12 is an example of the external print service link applicationsetting screen 250. Items included in the screen are described below.

-   -   An application field 251 displays, for example, a pull-down menu        of a list of applications set in advance in the information        processing system 40 that executes a series of processes. The        application selected in the application field 251 is to be        associated with the virtual printer 9.    -   A printer name field 252 is for the administrator to set a name        of the virtual printer 9.    -   Default print setting field 253 is for the administrator to set        initial values of the print settings.

FIG. 13 is an example of the external printer setting screen 260. A listof virtual printers 9 is displayed on the external printer settingscreen 260.

-   -   A name 261 indicates the printer name of the virtual printer 9.    -   Status 262 indicates the status of the virtual printer 9        (printable, error occurred, etc.).    -   Share status 263 indicates the status of sharing of the virtual        printer 9.    -   A share name 264 indicates a name to identify the virtual        printer 9, such as an installation location.

The administrator selects the printer name of the virtual printer 9 inthe name 261 and sets the status of the virtual printer 9 to beprintable in the status 262. Such a setting is a setting to make thevirtual printer available to the user. The share status 263 and theshare name 264 may be set.

With reference to FIG. 14, a process in which the user requests theexternal print service 20 to execute printing is described. Theadministrator and the user do not have to be different persons, and theadministrator who registered the virtual printer 9 may print. In thiscase, the administrator is the general user. That is, the associationinformation between the virtual printer 9 and the application set by theuser may not be shared with other users.

FIG. 14 is a diagram illustrating the process initiated by the user toexecute the application through the external print service 20.

(18) The virtual printer 9 created by the administrator is selected onthe print screen described below and the user inputs the print operationto the image forming apparatus 30. The user logs in to the externalprint service 20 with his or her own account (user ID and password,etc.). In the external print service 20, the printer ID corresponding tothe virtual printer 9 and the print job are associated with each other.

(19) The external print service 20 detects firing of the event of thewebhook registered in the virtual printer 9 and transmits the URL of thewebhook to the workflow service 52. The application is identified bycollating the signature of the webhook and the signature of theapplication information on the workflow service described above. (Forexample, “fjp23jtij3ahi34ht3ihihag834hgiah34” at the end ofhttps://www.dev.smart-integration.ricoh.com/vl/appdata/webhook/fjp23jtij3ahi34ht3ihihag834hgiah34in the above example.) Alternatively, the external print service 20 maytransmit the URL of the webhook and the print job to the workflowservice 52.

(20) Based on the URL of the webhook, the workflow service 52 processesusing the access token (see Table 1) of the administrator who registeredthe webhook without additional authentication. The workflow service 52uses the printer ID associated with the signature in Table 3. Theworkflow service 52 designates the access token and the printer ID andrequests the virtual printer service 54 to acquire the print job.

The virtual printer service 54 is not allowed to acquire the jobs (inthe external print service) of all the general users in the tenantunless the print management authority on the external print service isused. In the case the print management authority is not used, followinginconvenience may be considered. Firstly, the virtual printer service 54repeatedly acquire jobs for all general users, and the number ofaccesses increases, and secondly, all jobs are not allowed to be viewedunless all general users are linked with the external print service 20.

(21) The virtual printer service 54 is authenticated by the access tokenof the administrator, and acquires from the external print service 20,the information related to the print job transmitted to the virtualprinter 9. Information related to the print job is illustrated in FIGS.16A and 16B.

(22) The virtual printer service 54 transmits the user ID in the printjob acquired in (21) to the authentication service 51. Theauthentication service 51 refers to the user information (No. 2) inTable 2, searches for the user ID in the print job, and identifies whichuser of the information processing system 40 requested printing. This isbecause the job execution is executed as a general user of theinformation processing system 40, and the job is managed as a jobexecuted by the general user.

(23) The virtual printer service 54 acquires an access token of the user(access token in Table 2) for executing the application from theauthentication service 51 using the user ID acquired in (22). That is,since the user has logged in to the external print service 20 but hasnot logged in to the information processing system 40, the virtualprinter service 54 acquires the access token of the user.

(24) The virtual printer service 54 requests the workflow service 52 toexecute the print job by using the access token acquired in (23). Theapplication is executed using the acquired access token of the generaluser. This enables to limit the users who can download the accumulatedprint jobs with the image forming apparatus to this general user.

(25) The processing unit 33 of the workflow service 52 executes a flow(a series of processing) by using the application ID stored in (11) andthe print job acquired in (24) by the administrator. In other word, theworkflow service 52 performs an additional processing.

In the present embodiment, an example in which the workflow service 52inputs the print job to the print service 55 and prints from the imageforming apparatus is described, but since the general user is identifiedby the access token, the following flow is also possible.

-   -   Send a print job to the email address set by the user without        printing by the user. (In the case the general user is not        designated, the workflow service 52 sends the email to the same        address regardless of which user belonging to the same tenant        submits the print job).    -   Store the print job in the cloud storage service set by the        general user without printing by the user.

(26) The workflow service 52 submits to the print service 55, the printjob for which additional processing has been executed. The print service55 stores the print job in the storage unit 31 in association with theaccess token.

The process of transmitting from the workflow service 52 to the printservice 55 in (26) changes depending on what kind of application thevirtual printer 9 is associated with. The process of (26) may not beperformed.

FIG. 15 is a diagram illustrating an example of a print screen 270displayed by the terminal device 10. The print screen 270 includes aprinter selection field 271. The virtual printer 9 registered in theexternal print service 20 set on the external printer setting screen 260is displayed in the printer selection field 271. The user selects thevirtual printer 9 (associated flow can be known) sent by theadministrator by email or the like, or the virtual printer 9 or the likedescribed in the manual. In response to the pressing of the print button272 by the general user, the terminal device 10 sends the print job tothe external print service 20.

FIGS. 16A and 16B are diagrams illustrating the user ID included in theprint job. In the example of FIG. 16A, userPrincipalName 281 is a userID logged in to the external print service 20. The virtual printerservice 54 requests the user ID (user ID in Table 2) stored by theauthentication service 51 to be searched by the user ID in FIGS. 16A and16B. In the case the user ID matches the search, the virtual printerservice 54 acquires an access token associated with the user ID storedby the authentication service 51 from the authentication service 51.

In FIGS. 16A and 16B, the user ID is an email address, but the user IDmay be any combination of characters, numbers, alphabets, and symbols.

Further, in the present embodiment, the user IDs of the informationprocessing system 40 and the external print service 20 are the same.Alternatively, by providing a table for associating the user ID of theinformation processing system 40 with the user ID of the external printservice 20 in advance in the authentication service 51, the user IDs ofthe information processing system 40 and the external print service 20may not be the same.

Further, the external print service 20 may perform a conversion processbetween the user ID of the information processing system 40 and the userID of the external print service 20.

In the case the user of the information processing system 40 is notidentified by the information illustrated in FIG. 16A, the informationprocessing system 40 acquires the information that identifies the user(general user) by using a user information acquisition ApplicationProgramming Interface (API) of the general user on the external printservice 20.

FIG. 16B is an example of the user information acquired by using theuser information acquisition API of the general user on the externalprint service 20. API is a specification of an interface used bysoftware components to exchange information with each other.

The email address of the general user (registered in the external printservice 20) or the user ID of the general user (external print service20) acquired by the information processing system 40 is used as a key.The workflow service 52 passes the key to the user informationacquisition API (authentication service of the information processingsystem 40) and acquires the user ID (“uuid”) 282 of the general userfrom the response.

With reference to FIG. 17, a process in which the user operates theimage forming apparatus 30 to execute printing is described. FIG. 17 isa diagram illustrating the process in which the user operates the imageforming apparatus 30 to execute printing.

(30) The user logs in to the image forming apparatus 30. In addition tothe login method using the email address and user ID, login method usingan integrated circuit (IC) card or the like may be used.

(31) The image forming apparatus 30 transmits an authentication requestto the authentication service 51.

(32) In response to a successful authentication, the authenticationservice 51 returns the access token of this user to the image formingapparatus 30.

(33) The image forming apparatus 30 uses the access token acquired fromthe print service 55 to acquire the print job list associated with theaccess token from the storage unit 31.

(34) In response to a selection of a print job by the user, the imageforming apparatus 30 receives the print job from the print service 55and executes the print job.

Based on the above description, the process from the registration of thevirtual printer 9 to the submission of the print job is described with asequence diagram.

FIGS. 18A and 18B are an example of a sequence diagram illustrating aprocess in which the administrator associates the virtual printer 9 withthe application. The process of FIGS. 18A and 18B is initiated by theadministrator, but the process may be initiated by the general user.

Note that although the communication between the services in theinformation processing system 40 is performed by each communicationunit, the processing of the communication unit is omitted in thedescription of the process.

In step S1, in response to the input of the authentication information(account ID, user ID, password) on the login screen 200 and pressing ofthe login button 204 by the administrator, the communication unit 61 ofthe terminal device 10 transmits the authentication information to theweb service 53.

In step S2, the communication unit 26 of the web service 53 receives theauthentication request, transmits the authentication information to theauthentication service 51, and requests the authentication. Based on asuccessful login, the access token of the information processing system40 of the administrator is returned.

In step S3, in response to the successful login, the screen display unit28 of the web service 53 generates the administrator setting screen 210,and the communication unit 26 transmits the screen information of theadministrator setting screen 210 to the terminal device 10.

In step S4, the communication unit 61 of the terminal device 10 receivesthe screen information of the administrator setting screen 210, and thedisplay control unit 62 displays the administrator setting screen 210.Then, the administrator presses the icon 211 of the external servicelink application. The operation reception unit 63 of the terminal device10 receives the pressing of the icon 211, and the communication unit 61transmits a display request of the external service link screen 220 tothe web service 53.

In step S5, the communication unit 26 of the web service 53 receives thedisplay request of the external service link screen 220, and thecommunication unit 26 acquires the setting information of the externalservice associated with the administrator from the authenticationservice 51.

In step S6, the screen display unit 28 of the web service 53 generatesthe external service link screen 220 based on the setting information ofthe external service, and the communication unit 26 transmits the screeninformation of the external service link screen 220 to the terminaldevice 10.

In step S7, the communication unit 61 of the terminal device 10 receivesthe screen information of the external service link screen 220, and thedisplay control unit 62 displays the external service link screen 220.The external print service 20 is authorized on this screen. Theadministrator presses the link button 224 for the web service 53 to linkwith the external print service 20. The operation reception unit 63receives the pressing of the button. The communication unit 61 of theterminal device 10 requests the web service 53 to link with the externalprint service 20.

In step S8, the communication unit 26 of the web service 53 receives arequest to link with the external print service 20 and acquires anauthorization URL of the external print service 20 from theauthentication service 51. The authorization URL is a redirectdestination of OAuth.

In step S9, the web service 53 redirects the terminal device 10 to theauthorization URL of the external print service 20. As a result, thedisplay control unit 62 of the terminal device 10 displays the externalservice authentication screen 230 and the authorization screen 240.

In step S10, the administrator inputs the user ID of the external printservice 20 on the external service authentication screen 230 and pressesthe authorization button 241 on the authorization screen 240. Theoperation reception unit 63 receives the pressing of the button. Thecommunication unit 61 of the terminal device 10 requests the web service53 for the authorization and authentication with the external printservice 20.

In step S11, the web service 53 requests the authentication andauthorization from the external print service 20 and acquires the accesstoken of the administrator for the external print service 20.

In step S12, the communication unit 26 of the web service 53 requeststhe authentication service 51 to add the access token acquired in S11 tothe user information.

In step S13, the web service 53 requests the setting information of theexternal service from the authentication service 51 in order to updatethe external service link screen.

In step S14, the screen display unit 28 of the web service 53 generatesthe external service link screen 220 using the setting information ofthe external service and transmits the screen information to theterminal device 10.

In step S15, the communication unit 61 of the terminal device 10receives the screen information of the external service link screen 220,and the display control unit 62 displays the external service linkscreen 220. The external print service 20 authorized in step S11 isdisplayed as “set” in the link 222.

Then, the administrator inputs an operation for displaying the externalprint service link application setting screen 250 to the terminal device10. The communication unit 61 of the terminal device 10 requests theexternal print service link application setting screen 250 from the webservice 53.

In step S16, the communication unit 26 of the web service 53 receivesthe request for the external print service link application settingscreen 250. The communication unit 26 acquires information (applicationlist, setting items, etc.) of the external print service linkapplication from the workflow service 52.

In step S17, the screen display unit 28 of the web service 53 generatesthe external print service link application setting screen 250 based onthe information acquired in step S16 and the communication unit 26transmits the screen information to the terminal device 10.

In step S18, the communication unit 61 of the terminal device 10receives the screen information of the external print service linkapplication setting screen 250 and the display control unit 62 displaysthe external print service link application setting screen 250. Then,the administrator selects an application, inputs the virtual printer 9,and presses the “save” button 254 for requesting an update of theexternal print service link application setting. The operation receptionunit 63 of the terminal device 10 receives the pressing, and thecommunication unit 61 sends an update request for the external printservice link application setting to the web service 53.

In step S19, the communication unit 26 of the web service 53 receivesthe update request of the external print service link applicationsetting and requests the authentication service 51 to acquire the accesstoken (issued by the external print service 20).

In step S20, the web service 53 requests the creation of the virtualprinter 9 by transmitting a request for associating the virtual printer9 with the application (application ID, virtual printer name, accesstoken) to the workflow service 52.

In step S21, the workflow service 52 designates the virtual printer nameand the access token and requests the virtual printer service 54 tocreate the virtual printer 9.

In step S22, the communication unit 29 of the virtual printer service 54designates the virtual printer name and the access token and requeststhe external print service 20 to create the virtual printer 9. Inresponse to a successful creation of the virtual printer, the virtualprinter service 54 and the workflow service 52 acquire the printer ID.

In step S23, the workflow service 52 designates the printer ID and theaccess token and requests the virtual printer service 54 to changesettings of the virtual printer 9.

In step S24, the virtual printer service 54 designates the printer IDand the access token and requests the external print service 20 toupdate the virtual printer 9. In other words, after the virtual printeris created, the virtual printer service 54 updates the settings so thatthe virtual printer is available to the user. This update may not beperformed.

In step S25, the saving unit 25 of the workflow service 52 creates awebhook (numbering a signature that becomes the URL) and stores thesignature and the application ID in the application information in Table3 in association with each other.

In step S26, the workflow service 52 designates the URL of the webhook,printer ID, and access token, and requests the virtual printer service54 to register the webhook in the external print service 20.

In step S27, the virtual printer service 54 is authenticated by theaccess token, designates the URL of the webhook and the printer ID, andrequests the external print service 20 to register the webhook in thevirtual printer 9. In response to a successful creation of the virtualprinter, the virtual printer service 54 and the workflow service 52acquire a notification of successful registration.

In step S28, the workflow service 52 updates the application informationin Table 3 in association with the URL (signature) of the webhook, theapplication ID, and the printer ID.

In step S29, in response to completion of the webhook registration tothe external print service 20 in step S27, the screen display unit 28 ofthe web service 53 regenerates the external print service linkapplication setting screen 250 and the communication unit 26 transmitsthe screen information to the terminal device 10. The display controlunit 62 of the terminal device 10 displays the printer name registeredin the printer name field 252. Further, the display control unit 62 maydisplay the completion of webhook registration and the like.

In step S30, the administrator logs out from the information processingsystem 40.

In step S31, the administrator operates the terminal device 10 toconnect the terminal device 10 to the external print service 20. Theterminal device 10 displays the external printer setting screen 260, andthe administrator sets the external print service 20 to make the virtualprinter 9 created in step S22 available to the user.

FIGS. 19A and 19B are a sequence diagram illustrating an example of aprocess in which the user requests the external print service 20 toexecute the print job and the information processing system 40 executesthe application associated with the virtual printer 9.

In step S41, the user operates the terminal device 10 to connect theterminal device 10 to the external print service 20. On the print screen270, the user selects the virtual printer 9 instructed by theadministrator or a manual to execute printing. In the execution ofprinting, since the terminal device 10 connects to the external printservice 20 with the web browser, a PDF file or the like is selected bythe web browser, and the print function of the web browser is used.

In step S42, in response to receiving of the print request by thevirtual printer 9 of the external print service 20, the communicationunit 11 of the external print service 20 notifies the informationprocessing system 40 of the event firing of the webhook associated withthe virtual printer. In other words, the communication unit 11 of theexternal print service 20 notifies the information processing system 40of the URL of the webhook. The communication unit 11 of the externalprint service 20 may notify the information processing system 40 of theURL of the webhook and the print job at this timing. In this case, theprinter ID and the application ID may not be associated with each otherin Table 3.

In step S43, the workflow service 52 refers to the applicationinformation in Table 3 and acquires information (application ID, printerID) for linking with the external print service 20 from the signatureincluded in the URL of the webhook.

In step S44, the workflow service 52 identifies a webhook registrant(administrator in the present embodiment) associated with the webhooksignature in the application information in Table 3. Then, the workflowservice 52 acquires the access token (issued by the external printservice 20) associated with the user ID of the administrator from theuser information (No. 1) in Table 1.

In step S45, the workflow service 52 starts execution of the applicationlinked with the external print service 20.

In step S46, the workflow service 52 designates the printer ID and theaccess token of the external print service 20 and sends a print jobacquisition request to the virtual printer service 54.

In step S47, the virtual printer service 54 being authenticated by theaccess token of the external print service 20, designates the printer IDand requests the external print service 20 to acquire the print job. Thefile and the information of the user who executed the print are acquiredfrom the print job acquired here.

In step S48, the virtual printer service 54 acquires a file from theprint job acquired in step S47.

In step S49, the virtual printer service 54 acquires user information(user ID in the external print service 20) from the print job acquiredin step S47.

In step S50 the virtual printer service 54 requests the authenticationservice 51 to search the user information (No. 2) in Table 2 for thesame user ID as the user ID acquired in step S47. This is for thevirtual printer service 54 to acquires the access token of the user inthe information processing system 40.

In step S51, the virtual printer service 54 designates the user IDsearched in step S50 and acquires the access token (issued by theinformation processing system 40) associated with this user ID (user IDin Table 2) in the user information (No. 2) in Table 2 of theauthentication service 51.

In step S52, the virtual printer service 54 designates the applicationID, the print job, and the access token of the user, and requests theworkflow service 52 to execute the application.

In step S53, the processing unit 33 of the workflow service 52designates the print job and the access token of the user (issued by theinformation processing system 40) and starts executing the application.Since the application includes at least one process, the informationprocessing system 40 can add a process other than printing to the printjob.

In step S54, the workflow service 52 submits the print job to the printservice 55. The print service 55 stores the access token and the printjob in association with each other in the storage unit 31. In the casethe application does not include the print process, step S54 is notexecuted, and for example, an email is sent to the user or a persondesignated by the user or is sent to the cloud storage.

In step S55, the user operates the image forming apparatus 30 to log into the print client 71.

In step S56, the print client 71 requests authentication from theauthentication application 73.

In step S57, the authentication application 73 requests theauthentication service 51 for authentication. In response to asuccessful authentication, the authentication application 73 acquires anaccess token (issued by the information processing system 40) used foracquiring the print job or the like.

In step S58, the print client 71 displays a top screen after login.

In step S59, the user inputs an operation for displaying the print joblist to the print client 71.

In step S60, the print client 71 acquires the print job list from theprint service 55 by using the access token of the user acquired in stepS57.

In step S61, the print client 71 displays the print job list screen onthe control panel.

In step S62, the user selects the print job and requests the printclient 71 to execute the print job.

In step S63, the print client 71 requests the print application 72 toexecute printing.

In step S64, the print application 72 acquires the designated print jobfrom the information processing system 40 and performs the printprocess.

In step S65, the communication unit 41 of the print client 71 notifiesthe workflow service 52 that the print job is submitted.

In step S66, the communication unit 23 of the workflow service 52receives a notification stating that the print job has been submitted,and the workflow service 52 performs a termination process of theapplication.

In step S67, the workflow service 52 requests the print service 55 todelete the print job printed in step S64.

In step S68, the print application 72 ejects paper on which the printjob is printed.

As described above, in the present embodiment, the informationprocessing system 40 creates the virtual printer 9 in the external printservice 20, and in the information processing system 40, the virtualprinter 9 and the application provided by the information processingsystem 40 are associated with each other. In response to the userrequest to the external print service 20 to print using the virtualprinter 9, the information processing system 40 processes the print jobin the web application. Since one or more processes for the print jobare defined in the web application, the printing system can add theprocess to the print job.

In a second embodiment, a printing system in which the administrator canassociate an application with the existing virtual printer 9 isdescribed.

In the second embodiment, the hardware configuration illustrated inFIGS. 3 and 4 and the functional configuration illustrated in FIG. 5described in the above embodiment are applicable.

In the present embodiment, the external print service link applicationsetting screen 250 is different from that of the first embodiment.

FIG. 20 is a diagram illustrating an example of the external printservice link application setting screen 250 according to the secondembodiment of the present disclosure.

In the description of FIG. 20, difference from FIG. 12 is mainlydescribed. In the present embodiment, the printer name field 252-2 isdifferent.

-   -   In the printer name field 252-2 of the present embodiment, in        addition to the administrator setting any name on the virtual        printer 9, the virtual printer 9 already registered is displayed        by, for example, a pull-down menu. As a result, the        administrator can associate the application with the existing        virtual printer 9.

In the printer name field 252-2, all virtual printers 9 registered bythe administrator can be selected. To create a new virtual printer 9,the administrator directly inputs the printer name, and to associate theexisting virtual printer 9 with the application, the virtual printer 9can be selected from the pull-down menu.

For example, to execute two or more applications on the virtual printer9, two or more virtual printers 9 are desired.

FIGS. 21AA and 21AB (FIG. 21A) and FIG. 21BA and FIG. 21BB (FIG. 21B)are an example of a sequence diagram illustrating a process to associatethe virtual printer 9 with the application. In the description of FIGS.21AA and 21AB (FIG. 21A) and FIG. 21BA and FIG. 21BB (FIG. 21B),difference from FIGS. 18A and 18B is mainly described. The process ofsteps S1 to S16 may be the same as in FIGS. 18A and 18B.

In step S16-1, the workflow service 52 requests the authenticationservice 51 for an access token (access token in Table 1) for theadministrator's external print service 20. This is for the virtualprinter service 54 to acquire a list of the virtual printers 9 from theexternal print service 20.

In step S16-2, the workflow service 52 designates the access token andrequests the list of virtual printers from the external print service20. The workflow service 52 acquires the list of virtual printers(existing virtual printer name and printer ID) that can be acquired withthe access token of the administrator. The virtual printer 9 that can beacquired with the access token of the administrator is mainly thevirtual printer 9 registered by the administrator.

Subsequent steps S17 to S28 may be the same as in FIGS. 18A and 18B.Steps S17 to S28 are a registration process for the new virtual printer9.

In the case of updating the existing virtual printer 9 (when theadministrator selects the existing virtual printer 9 on the externalprint service link application setting screen 250), the web service 53designates the printer ID, the application ID, and the access token ofthe administrator issued by the external print service 20 and requeststhe workflow service 52 to update the virtual printer 9 in step S28-1.

In step S28-2, the workflow service 52 creates the URL of the webhook.

In step S28-3, the workflow service 52 designates the URL of thewebhook, the printer ID, and the access token, and transmits the webhookregistration request to the virtual printer service 54.

In step S28-4, the communication unit 29 of the virtual printer service54 being authenticated by the access token, designates the URL of thewebhook and the printer ID, and requests the external print service 20to register the webhook in the virtual printer 9. In the case thewebhook is already registered in the virtual printer 9 identified by theprinter ID, the external print service 20 overwrites the webhook.

In step S28-5, the workflow service 52 updates the association betweenthe signature of the webhook, the application ID, and the printer ID inthe application information in Table 3.

Subsequent processing may be the same as in FIGS. 18A and 18B.

According to the present embodiment, in addition to the effect of thefirst embodiment, the administrator can select the virtual printer 9 towhich the application is associated from the virtual printer 9 alreadyregistered.

In a third embodiment, a printing system in which the virtual printer 9and the application are associated with each other in a one-to-manyrelationship is described. In the third embodiment, the informationprocessing system 40 switches the application to be executed dependingon which condition is satisfied.

In the first embodiment, the virtual printer 9 and the application havea one-to-one relationship. To increase the number of applications, thevirtual printers 9 equal to the number of applications are to becreated. In the present embodiment, the user can execute differentapplications with one virtual printer 9.

In the third embodiment, the hardware configuration illustrated in FIGS.3 and 4 and the functional configuration illustrated in FIG. 5 describedin the above embodiment are applicable.

In the present embodiment, the external print service link applicationsetting screen 250 is different from that of the first embodiment.

FIG. 22 is a diagram illustrating an example of the external printservice link application setting screen 250 according to the thirdembodiment of the present disclosure.

In the description of FIG. 22, difference from FIG. 12 is mainlydescribed.

-   -   The application field 251 in FIG. 12 is replaced with a default        application field 291 and a conditional application field 292.        The default application field 291 indicates an application        selected when a condition is not satisfied. The conditional        application field 292 is an application selected when the        condition is satisfied.    -   The external print service link application setting screen 250        includes a character string field 294 and an inclusion setting        field 295 close to the conditional application field 292. In the        character string field 294, a character string included (or not        included) in the file name of the file to be printed by the        virtual printer 9 is set. For example, “included” and “not        included” are set in the inclusion setting field 295.

In response to a pressing of the delete button 293, the conditionalapplication is deleted and the external print service link applicationsetting screen 250 illustrated in FIG. 22 (b) is displayed.

-   -   In response to a pressing of an add button 296, a conditional        application field 292 is added as illustrated in FIG. 22 (c).        The administrator sets the conditional application field 292,        the character string field 294, and the inclusion setting field        295.

In an example of settings illustrated in FIG. 22 (a), in the case theuser prints a file with a file name including “nonUpload”, the workflowservice 52 executes “TimeStamp” application, and in the case the userprints a file with a file name not including “nonUpload” the workflowservice 52 executes “UploadToBox” application.

In this way, since the plurality of applications and the printers areassociated with each other and the execution conditions are set for theapplications, the administrator can associate the virtual printer 9 withthe applications in the one to many relationship. The informationprocessing system 40 selects the application to be executed depending onwhich condition is satisfied.

FIGS. 23A and 23B are an example of a sequence diagram illustrating aprocess in which the administrator associates the virtual printer 9 withthe application. In the description of FIGS. 23A and 23B, differencefrom FIGS. 18A and 18B is mainly described. In FIGS. 23A and 23B, theprocesses of steps S20 and S28 are different from those in FIGS. 18A and18B.

In step S20-2, the web service 53 designates the access token (issued bythe external print service 20) and requests to establish the associationbetween the application and the virtual printer 9 according to theconditions set by the administrator to the workflow service 52 (theapplication ID and the printer ID are designated).

In step S28-2-2, the workflow service 52 updates the applicationinformation in Table 3 in association with the URL (signature) of thewebhook, the application ID, the condition, and the printer ID. In otherwords, the workflow service 52 registers the application executionconditions set in FIG. 22 in association with the application ID of thedefault application in the default application field.

FIG. 24 is a diagram illustrating an example of an application executioncondition associated with an application ID of application informationin JSON format.

-   -   DefaultAppId 301 is the application ID of the application        executed in case there is no application that satisfies the        following conditions (application in default application field        291).    -   ConditonalData 302 defines the conditional application.    -   AppId 303 is the application ID of the application executed when        the following conditions are satisfied (application in the        conditional application field 292).    -   “FileName” 304 in conditonalTarget indicates to give a condition        to the file.    -   “Include” 305 in conditonalMode indicates that the method for        determining the condition is “include”. In alternative to        “include”, “starting with” etc. may be input.    -   “NonUpload” 306 of conditonalValue is a value used for the        condition (character string in the character string field 294).

According to the present embodiment, in addition to the effect of thefirst embodiment, since the virtual printer 9 and the application havethe one-to-many relationship, the user can execute differentapplications with one virtual printer 9.

For example, in the present embodiment, the information processingsystem 40 receives the print job for the virtual printer registered inthe external print service 20 and processes the print job by theapplication. Alternatively, the external print service 20 does not haveto be a server for printing and may be a storage service in which a userregisters a general-purpose file that is not for printing. In this caseas well, the information processing system 40 can process the file withthe application by the same mechanism such as webhook. The informationprocessing system 40 can also send the processed application to thestorage service.

Further, in the present embodiment, the image forming apparatus 30prints the print job, but an electronic whiteboard may display the file,or a projector may project the file.

Further, the configuration example illustrated in FIG. 5 is dividedaccording to the main functions in order to facilitate understanding ofthe processing by the external print service 20, the informationprocessing system 40, the image forming apparatus 30, and the terminaldevice 10. The present disclosure is not limited by the way of dividingthe processing unit or the name. The processing of the external printservice 20, the information processing system 40, the image formingapparatus 30, and the terminal device 10 may be further divided intomore processing units according to the processing contents. Further, oneprocess can be divided to include a larger number of processes.

The apparatuses or devices described in one or more embodiments are justone example of plural computing environments that implement the one ormore embodiments disclosed herein. In some embodiments, informationprocessing system 40 includes multiple computing devices, such as aserver cluster. The multiple computing devices is configured tocommunicate with one another through any type of communication link,including a network, shared memory, etc., and perform the processesdisclosed herein.

Further, the information processing system 40 can be configured to sharethe processing steps disclosed in the present embodiment, for example,FIGS. 18A and 18B, and FIGS. 19A and 19B (FIG. 19) and the like invarious combinations. For example, a process executed by a given unitmay be executed by a plurality of information processing apparatusesincluded in the information processing system 40. Further, theinformation processing system 40 may be integrated into one server ormay be divided into a plurality of devices.

The above-described embodiments are illustrative and do not limit thepresent invention. Thus, numerous additional modifications andvariations are possible in light of the above teachings. For example,elements and/or features of different illustrative embodiments may becombined with each other and/or substituted for each other within thescope of the present invention. Any one of the above-describedoperations may be performed in various other ways, for example, in anorder different from the one described above.

The functionality of the elements disclosed herein may be implementedusing circuitry or processing circuitry which includes general purposeprocessors, special purpose processors, integrated circuits, applicationspecific integrated circuits (ASICs), digital signal processors (DSPs),field programmable gate arrays (FPGAs), conventional circuitry and/orcombinations thereof which are configured or programmed to perform thedisclosed functionality. Processors are considered processing circuitryor circuitry as they include transistors and other circuitry therein. Inthe disclosure, the circuitry, units, or means are hardware that carryout or are programmed to perform the recited functionality. The hardwaremay be any hardware disclosed herein or otherwise known which isprogrammed or configured to carry out the recited functionality. Whenthe hardware is a processor which may be considered a type of circuitry,the circuitry, means, or units are a combination of hardware andsoftware, the software being used to configure the hardware and/orprocessor.

1. An information processing system comprising: circuitry configured to:in response to a transmission of a print job from a terminal device to avirtual printer registered in an external print service, receiveinformation for identifying the virtual printer, and the print job fromthe external print service; based on association information associatingidentification information of an application and information foridentifying a virtual printer, identify an application associated withthe information for identifying the virtual printer that is received;and process the print job by the application.
 2. The informationprocessing system of claim 1, wherein the association informationassociating identification information of an application and informationfor identifying a virtual printer further associates identificationinformation of the virtual printer, and the circuitry is furtherconfigured to: transmit identification information of the virtualprinter associated with the information for identifying the virtualprinter that is received to the external print service; and acquire theprint job associated with the identification information of the virtualprinter from the external print service.
 3. The information processingsystem of claim 1, wherein the circuitry is further configured totransmit the print job processed by the application to an image formingapparatus, in response to a request for the print job from the imageforming apparatus.
 4. The information processing system of claim 1,wherein the circuitry is further configured to transmit the print jobprocessed by the application to extraneous resource.
 5. The informationprocessing system of claim 1, wherein the print job includesidentification information of a user used by the external print service,who operates the terminal device that transmitted the print job to theexternal print service, and the circuitry is further configured to:acquire authorization information of the user of the terminal device,used by the information processing system, based on the identificationinformation of the user included in the print job; and based on theauthorization information, process the print job acquired from theexternal print service by the application.
 6. The information processingsystem of claim 5, wherein the identification information of the userused by the information processing system and the identificationinformation of the user used by the external print service are the same.7. The information processing system of claim 1, wherein the circuitryis further configured to: transmit to the terminal device, screeninformation for receiving a name of the virtual printer and theidentification information of the application; receive the name of thevirtual printer and the identification information of the applicationfrom the terminal device; create the virtual printer with the namereceived from the terminal device, in the external print service andacquire identification information of the virtual printer from theexternal print service; and store in one or more memories, theidentification information of the application and the identificationinformation of the virtual printer in association with each other. 8.The information processing system of claim 7, wherein the circuitry isfurther configured to: in response to an authentication requesttransmitted from the terminal device operated by an administrator,redirect the authentication request from the terminal device to theexternal print service; based on a successful authentication, acquireauthorization information of the administrator from the external printservice; and create the virtual printer in the external print servicewith the name received from the terminal device, by using theauthorization information of the administrator.
 9. The informationprocessing system of claim 1, wherein the circuitry is furtherconfigured to: transmit to the terminal device, screen information fordisplaying a list of the virtual printers acquired from the externalprint service and for receiving the identification information of theapplication; receive from the terminal device, the identificationinformation of the virtual printer and the identification information ofthe application; and store in the one or more memories, theidentification information of the application and the identificationinformation of the virtual printer in association with each other. 10.The information processing system of claim 7, wherein the circuitry isfurther configured to: create a uniform resource locator (URL) and storein the one or more memories, the URL in association with theidentification information of the application and the identificationinformation of the virtual printer; set the URL in the virtual printerof the external print service; and receive notification on the URL fromthe external print service as the information for identifying thevirtual printer.
 11. The information processing system of claim 10,wherein the circuitry is further configured to: create the URL ofwebhook; set the webhook in the virtual printer of the external printservice; and receive the notification on the URL with firing of an eventof the webhook.
 12. The information processing system of claim 7,wherein the circuitry is further configured to: transmit, to theterminal device, screen information of a screen including information ona plurality of applications for selection; receive, from the terminaldevice, one or more pieces of identification information of one or moreapplications having been selected; and store in the one or morememories, the one or more pieces of identification information of theone or more applications transmitted from the terminal device inassociation with the identification information of the virtual printer.13. The information processing system of claim 12, wherein the screenfurther includes a setting field for setting a condition under which atleast one of the one or more applications is to be executed and thecircuitry is further configured to store in the one or more memories,the condition in association with the identification information of theapplication transmitted from the terminal device.
 14. An informationprocessing apparatus comprising: circuitry configured to: in response toa transmission of a print job from a terminal device to a virtualprinter registered in an external print service, receive information foridentifying the virtual printer, and the print job from the externalprint service; based on information associating identificationinformation of an application and information for identifying a virtualprinter, identify an application associated with the information foridentifying the virtual printer that is received; and process the printjob by the application.
 15. A processing execution method comprising: inresponse to a transmission of a print job from a terminal device to avirtual printer registered in an external print service, receivinginformation for identifying the virtual printer, and the print job fromthe external print service; based on information associatingidentification information of an application and information foridentifying a virtual printer, identifying an application associatedwith the information for identifying the virtual printer that isreceived; and processing the print job by the application.